package tests;

import java.util.LinkedList;

import bookworm.LooksForHowManyDaysToReadBook;

public class TestSearchForBooksInHistoryMatchingName 
{
	public static void main(String args[])
	{
		LooksForHowManyDaysToReadBook howLongToFinishBook = 
				new LooksForHowManyDaysToReadBook();
		LinkedList<String> booknamesInHistory =
				howLongToFinishBook.searchForBooksInHistoryWithThisName("twilight");
		System.out.println("I Found these books matching this name in reading histories:");
		for(int i = 0; i < booknamesInHistory.size(); i++)
		{
			String bookNameInHistory = booknamesInHistory.get(i);
			System.out.println("//////////" + bookNameInHistory);
		}
	}

}
